#ifndef DEFINES_H
#define DEFINES_H

#include <QDir>
#include <QIcon>
#include <QDebug>
#include <QTime>
#include <QApplication>

#define QT_USE_FAST_CONCATENATION
#define QT_USE_FAST_OPERATOR_PLUS

#define JOKER					'.'
#define EMPTY_DISPLAY			' '

#define APP_DICO_PATH			(qApp->applicationDirPath () + "/dico/")
#define USER_HOME_PATH			QDir::toNativeSeparators (QDir::homePath () + "/")
#define APP_HOME_PATH			USER_HOME_PATH + QDir::toNativeSeparators (".mcroises/")
#define APP_ANNEXE_DICO			(APP_HOME_PATH + "annexe.dic")

#define APP_REF_DICOS_PATH		(APP_HOME_PATH + "refdicos/")
#define APP_ICON					QIcon (":/images/mcroises.png")
#define APP_DEFAULT_MIN_WORD_LENGTH	2

#endif // DEFINES_H
